Fix bug #15090 with redisplay under linum-mode and visual-line-mode.
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Aug 2013 15:20:03 +0000 (18:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Aug 2013 15:20:03 +0000 (18:20 +0300)
commit8085063d75b4327ba48e48f4ca9d872a62af253c
tree40ca45904cb60a848bbbd4d17fb1b04b3c931fe6
parent5c2177532e2903d5b2281171719b1e7f2a98a5d1
Fix bug #15090 with redisplay under linum-mode and visual-line-mode.

 src/xdisp.c (compute_window_start_on_continuation_line): When
 WORD_WRAP is in effect, use move_it_to instead of move_it_by_lines
 to make sure we end up setting the window start at the leftmost
 visible character of the display line.  This avoids funky
 horizontal shifting because the window start is not kept on the
 same position.
src/ChangeLog
src/xdisp.c